home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 11 / Amiga Plus 11: Amiga Future.iso / rexx / check_disk.rexx < prev    next >
OS/2 REXX Batch file  |  1997-07-22  |  432b  |  25 lines

  1. /*
  2.  
  3.                         **************************
  4.                         **** xFX ARexx script ****
  5.                         **************************
  6.  
  7.  
  8.                                Check a disk
  9. */
  10.  
  11.  
  12. if ~show('P','xFX.1') then do  /* Check if xFX is running */
  13.   say 'xFX not running !'
  14.   exit
  15. end
  16.  
  17. InDev   = ''
  18.  
  19. say 'Device to check:'
  20. parse pull InDev
  21. if InDev ~= '' then do
  22.   address 'xFX.1' check InDev
  23.   say 'Done.'
  24. end
  25.